projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5aaf752
)
glarea: Fix precondition check
author
Timm Bäder
<mail@baedert.org>
Sun, 4 Feb 2018 14:10:23 +0000
(15:10 +0100)
committer
Timm Bäder
<mail@baedert.org>
Sun, 4 Feb 2018 14:10:23 +0000
(15:10 +0100)
and the build.
gtk/gtkglarea.c
patch
|
blob
|
history
diff --git
a/gtk/gtkglarea.c
b/gtk/gtkglarea.c
index 3a12f84081ea6970815f4a1790d08a2068ced783..1e14e1b07e700b242ef9cd004d5833da0cb9dfe1 100644
(file)
--- a/
gtk/gtkglarea.c
+++ b/
gtk/gtkglarea.c
@@
-1372,7
+1372,7
@@
gtk_gl_area_make_current (GtkGLArea *area)
GtkGLAreaPrivate *priv = gtk_gl_area_get_instance_private (area);
g_return_if_fail (GTK_IS_GL_AREA (area));
- g_return_if_fail (gtk_widget_get_realized (GTK_WIDGET (
widget
)));
+ g_return_if_fail (gtk_widget_get_realized (GTK_WIDGET (
area
)));
if (priv->context != NULL)
gdk_gl_context_make_current (priv->context);